Skip to content

Rename CHECK and LOG macros to avoid name collisions - #295

Merged
chyunsu3 merged 3 commits into
dmlc:mainlinefrom
chyunsu3:rename_logger_macros
Jul 13, 2021
Merged

Rename CHECK and LOG macros to avoid name collisions#295
chyunsu3 merged 3 commits into
dmlc:mainlinefrom
chyunsu3:rename_logger_macros

Conversation

@chyunsu3

Copy link
Copy Markdown
Collaborator

Closes #294

@codecov

codecov Bot commented Jul 12, 2021

Copy link
Copy Markdown

Codecov Report

Merging #295 (b24dbc6) into mainline (5c5aa9f) will decrease coverage by 0.13%.
The diff coverage is 71.93%.

Impacted file tree graph

@@              Coverage Diff               @@
##             mainline     #295      +/-   ##
==============================================
- Coverage       85.11%   84.97%   -0.14%     
  Complexity         46       46              
==============================================
  Files             106      106              
  Lines            8020     8034      +14     
  Branches           50       50              
==============================================
+ Hits             6826     6827       +1     
- Misses           1169     1182      +13     
  Partials           25       25              
Impacted Files Coverage Δ
include/treelite/logging.h 100.00% <ø> (ø)
runtime/java/treelite4j/src/native/treelite4j.cpp 66.85% <0.00%> (ø)
src/compiler/ast/dump.cc 0.00% <0.00%> (ø)
src/compiler/pred_transform.cc 68.00% <0.00%> (ø)
src/filesystem.cc 50.00% <0.00%> (ø)
src/frontend/xgboost_util.cc 97.29% <0.00%> (ø)
src/frontend/xgboost_json.cc 70.85% <10.00%> (ø)
src/compiler/elf/elf_formatter.cc 96.07% <50.00%> (ø)
src/data.cc 80.76% <50.00%> (ø)
src/frontend/lightgbm.cc 85.32% <58.33%> (ø)
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c5aa9f...b24dbc6. Read the comment docs.

@chyunsu3
chyunsu3 merged commit d037bb4 into dmlc:mainline Jul 13, 2021
@chyunsu3
chyunsu3 deleted the rename_logger_macros branch July 13, 2021 01:14
This was referenced Jul 16, 2021
rapids-bot Bot pushed a commit to NVIDIA/cuml that referenced this pull request Jul 21, 2021
Closes #4037.

The 2.0.0 version of Treelite incorporates the following major improvements:

* **Remove dmlc-core dependency** (dmlc/treelite#284).
* Rename CHECK and LOG macros to avoid name collisions (dmlc/treelite#295)
* Suppress warning about build time when parallel_comp is specified (dmlc/treelite#297)
* Handle LightGBM models with '=' in feature names (dmlc/treelite#298)
* Remove OpenMP dependency (dmlc/treelite#300)

Depends on rapidsai/integration#315

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Jordan Jacobelli (https://github.com/Ethyling)

URL: #4072
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
Closes NVIDIA#4037.

The 2.0.0 version of Treelite incorporates the following major improvements:

* **Remove dmlc-core dependency** (dmlc/treelite#284).
* Rename CHECK and LOG macros to avoid name collisions (dmlc/treelite#295)
* Suppress warning about build time when parallel_comp is specified (dmlc/treelite#297)
* Handle LightGBM models with '=' in feature names (dmlc/treelite#298)
* Remove OpenMP dependency (dmlc/treelite#300)

Depends on rapidsai/integration#315

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Jordan Jacobelli (https://github.com/Ethyling)

URL: NVIDIA#4072
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename logging macros with Treelite prefix

1 participant